package cn.edu.xmist.supermarket.wtlvgcl.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping({"/index", "/"})
public class IndexController {

  @RequestMapping
  public String index() {
    return "index";
  }

  @RequestMapping("/chanpin")
  public String ware() {
    return "shanpin";
  }

  @RequestMapping("/xitong")
  public String house() {
    return "xitong";
  }

  @RequestMapping("/gongjishang")
  public String supplier() {
    return "gongjishang";
  }

  @RequestMapping("/login")
  public String login() {
    return "yonghu";
  }
}
